package com.customer.crm.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.customer.crm.system.mapper.SystemRoleFunctionMapper;
import com.customer.crm.system.pojo.SystemRoleFunction;
import com.customer.crm.system.service.SystemRoleFunctionService;
import org.springframework.stereotype.Service;

/**
 * @author Lyp
 * @create 2021/12/20
 */

@Service
public class SystemRoleFunctionImpl
        extends ServiceImpl<SystemRoleFunctionMapper, SystemRoleFunction>
        implements SystemRoleFunctionService {
    @Override
    public Integer deleteByRoleId(String roleId) {
        return baseMapper.deleteByRoleIdAndFuncId(roleId );
    }
}
